@charset "utf-8";
@import 'modules/base.scss';
// 头尾
@import './modules/header.scss';
@import './modules/footer.scss';
//sidebar
.sidebar{
    position: fixed;
    right: 0;
    top: 30%;
    z-index: 999;
    border: 1px solid #f4f4f4;
}
.cart{
    width: 96px;
    height: 96px;
    background: #fff;
    border-bottom: 1px solid #F4F4F4;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    position: relative;
    .item-icon{
        margin-left: 35px;
    }
    .text{
        position: relative;
        text-align: center;
        width: 96px;
        height: 20px;
        font-size: 14px;
        color: red;
    }
}
.sidebar-ul .item {
    width: 96px;
    height: 96px;
    background: #fff;
    border-bottom: 1px solid #F4F4F4;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    position: relative;
}
fieldset, img{
    border: 0;
}
.sidebar-ul .item .text{
    font-size: 14px;
    color: #999;
    margin-top: 11px;
}
.sidebar-ul .item .bg{
    position: absolute;
    top: 0px;
    left: -11px;
    width: 11px;
    height: 96px;
    background: transparent;
    z-index: 999;
}
.sidebar-ul .item .detail{
        position: absolute;
        top: 0;
        left: -184px;
        width: 182px;
        height: 214px;
        background: #FFFFFF;
        border-radius: 5px;
        text-align: center;
        display: none;
        box-sizing: border-box;
        cursor: default;
        border: 1px solid #f4f4f4;
}
.sidebar-ul .item .detail .list{
    width: 100%;
    height: 60px;
}
.sidebar-ul .item .detail .list .text1{
    font-size: 14px;
    padding: 10px 0;
    color: #ccc;
}
.sidebar-ul .item .detail .list .text2{
    font-size: 14px;
    padding: 10px 0;
    color: #000;
}
.sidebar-ul .item .detail .after-sales{
    width: 100%;
    height: 20px;
    float: left;
    padding-top: 20px;
    color: #0096d6;
    font-size: 14px;
    text-decoration: none;
}
.sidebar-ul .item .detail .detail-item .name {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #FD2645;
        margin-top: 25px;
        margin-bottom: 15px;
        text-decoration: none;
        color: #62A8EA;
}
.sidebar-ul .item .detail .detail-item .time {
    font-size: 12px;
    color: #999;
}
.sidebar-ul .item .detail .detail-item .hotline {
    color: #999999;
    font-size: 14px;
}
.sidebar-ul .item .detail .detail-item .phone {
    color: #333;
    font-size: 18px;
    margin: 12px auto 13px;
}
.sidebar-ul .detail .detail-item:first-child {
    margin-bottom: 30px;
}
// shopping
.container{
    width: 1200px;
    margin: 50px auto;
}
section{
    display: flex;
    flex: 1;
    background-color: #f5f5f5;
    .container{
        p{
            height: 50px;
            line-height: 50px;
            a{
                color: #000;
            }
            a:hover{
                color: #bfb0b0;
            }
        }
        .nav_shop{
            width: 1200px;
            height: 50px;
            background-color: #fff;
            color: #333;
            margin:15px 0;
            th{
            text-align: center;
            border-spacing: 5px;
            height: 50px;
            line-height: 50px;
            margin-bottom: 15px;
            font-weight: 400;
            a{
                color: #333;
            }
            }
        }

        .shop_cont{
            background-color: #fff;
            tr{
                height:145px;
                td{
                    line-height: 100px;
                    height: 100px;
                    text-align: center;
                    position: relative;
                    .cart-table-product {
                        width: 480px;
                        height: 100px;
                        >a{
                            float: left;
                            margin-top: 10px;
                            width: 80px;
                            height: 80px;
                            img{
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }
                    a{
                        color: #666;
                        font-size: 20px;
                    }
                    .sub{
                        width: 30px;
                        height: 30px;
                        display: block;
                        border: 1px solid #ddd;
                        float: left;
                        i{
                            width: 30px;
                            height: 30px;
                            text-align: center;
                            line-height: 30px;
                            display: block;
                        }
                    }
                    .plus{
                        width: 30px;
                        height: 30px;
                        display: block;
                        border: 1px solid #ddd;
                        float: left;
                        i{
                            width: 30px;
                            height: 30px;
                            text-align: center;
                            line-height: 30px;
                            display: block;
                        }
                    }
                    .nummidbtn{
                        width: 28px;
                        height: 28px;
                        border: 1px solid #ddd;
                        border-left: none;
                        border-right: none;
                        text-align: center;
                        line-height: 28px;
                        color: #333;
                        display: block;
                        font-size: 14px;
                        cursor: default;
                        float: left;
                    }
                    .del{
                        width: 14px;
                        height: 18px;
                        position: absolute;
                        top: 30%;
                        left: 0;
                        right: 0;
                        margin: auto;
                        background: url(../images/icon-delete.png) no-repeat;
                        background-size: 100% 100%;
                        &:hover{
                            background: url(../images/icon-delete2.png) no-repeat;
                            background-size: 100% 100%;
                        }
                    }
                }
            }
        }

        .shop_submit{
            tr{
                text-align: center;
            td:nth-child(5){
                width: 300px;
                font-size: 12px;
                b{
                    color: #f74a4a;
                    font-size: 20px;
                }
                strong{
                    padding-left: 5px;
                    color: #f74a4a;
                    font-size: 20px;
                }
            }
            td:nth-child(6){
                a{
                    display: block;
                    margin: 0 auto;
                    width: 150px;
                    font-size: 18px;
                    text-align: center;
                    color: #fff;
                    line-height: 60px;
                    background: #008ae5;
                }
            }
            }
        }
    }
}
.empty{
    height: 380px;
    margin: 0 auto;
    background: #fff;
    padding-top: 150px;
    display: none;
    p{
        font-size: 25px;
        line-height: 80px;
        font-weight: 400;
        text-indent: 16px;
        text-align: center;
        line-height: 30px;
        color: #666;
    }
    i{
        font-size: 50px;
        color: #666;
        margin-right: 30px;
    }
    a{
        display: inline-block;
        color: #333;
        margin-top: 43px;
        font-size: 14px;
        border: 1px solid #333;
        padding: 4px 40px;
        transition: all 0.5s;
    }
    a:nth-child(2){
        margin-left: 404px;
    }
    a:nth-child(3){
        margin-left:143px;
    }

    a:hover{
        border-radius: 20px;
    }
    
}